package com.k2data.k2app.mapper;

import com.k2data.k2app.domain.po.v1.RCustomerContacts;
import com.k2data.k2app.domain.po.v1.RDeviceContacts;
import com.k2data.k2app.mybatis.mapper.K2Mapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface RCustomerContactsMapper extends K2Mapper<RCustomerContacts> {

    @Delete(" delete from r_customer_contacts where customer_id = #{customerId}")
    int deleteByCustomerId(@Param("customerId") Long customerId);

}
